package com.learn.egmybatis2.mapper;

import com.learn.egmybatis2.pojo.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);
    Product selectSingleProduct(Integer id);
    int deleteById(Integer id);
    List<Product> selectManyProduct();
}
